package org.happy.tester.app.service.impl;

import javassist.ClassPool;
import javassist.CtClass;
import javassist.NotFoundException;
import org.happy.tester.app.User;
import org.happy.tester.app.service.UserService;
import org.happy.tester.common.http.CatcherClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    private static final Logger LOGGER = LoggerFactory.getLogger(CatcherClient.class);

    @Override
    public User getUser() {

        User user = new User();
        user.setAge(22);
        user.setName("小明");
        user.setMary(false);
        LOGGER.info("user={}", user);
        return user;
    }
}
